-
Home
-
Events Calendar Plus
-
1.0.6 (latest)
-
Code
-
Classes
- MigrationJob
Total Complexity |
32 |
Dependencies |
4 |
Dependents |
2 |
Total lines |
311 |
Lines of code |
109 |
Logical lines of code |
41 |
Comment lines |
106 |
Methods |
29 |
Properties |
3 |
Methods 29
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
validateJobRecordStatus() |
S |
56 |
2 |
21 |
assertDataIsSet() |
S |
64 |
2 |
11 |
__construct() |
S |
62 |
2 |
10 |
databaseVersion() |
S |
100 |
1 |
0 |
jobName() |
S |
100 |
1 |
0 |
recordType() |
S |
100 |
1 |
0 |
initializeMigrationJob() |
S |
100 |
1 |
0 |
countRecordsToMigrate() |
S |
100 |
1 |
0 |
getAllRecordIDs() |
S |
100 |
1 |
0 |
getNextRecord() |
S |
100 |
1 |
0 |
migrateRecord() |
S |
100 |
1 |
0 |
initializeMigrationData() |
S |
71 |
1 |
6 |
databaseMajorVersion() |
S |
79 |
1 |
3 |
isForTargetDatabaseVersion() |
S |
80 |
1 |
3 |
matchesAdditionalConditions() |
S |
81 |
1 |
3 |
getIdForNextRecordToMigrate() |
S |
77 |
1 |
4 |
name() |
S |
82 |
1 |
3 |
ID() |
S |
82 |
1 |
3 |
data() |
S |
82 |
1 |
3 |
setData() |
S |
81 |
1 |
3 |
clearCurrentRecord() |
S |
77 |
1 |
4 |
updateCurrentRecord() |
S |
76 |
1 |
4 |
updateProgress() |
S |
76 |
1 |
4 |
status() |
S |
77 |
1 |
4 |
hasNotRun() |
S |
77 |
1 |
4 |
hasFailed() |
S |
77 |
1 |
4 |
isRunning() |
S |
77 |
1 |
4 |
isCompleted() |
S |
77 |
1 |
4 |
markJobCompleted() |
S |
77 |
1 |
4 |